package com.zch.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zch.dao.ActIsReadLogMapper;
import com.zch.dao.model.ActIsReadLog;
import com.zch.dao.model.ActIsReadLogExample;
import com.zch.daoEx.ActIsReadLogMapperEx;

@Service
public class ActIsReadLogService {
	@Autowired
	private ActIsReadLogMapper actIsReadLogMapper;
    @Autowired
    private ActIsReadLogMapperEx actIsReadLogMapperEx;

	public int countByExample(ActIsReadLogExample example) {
		return this.actIsReadLogMapper.countByExample(example);
	}

	public ActIsReadLog selectByPrimaryKey(String id) {
		return this.actIsReadLogMapper.selectByPrimaryKey(id);
	}

	public List<ActIsReadLog> selectByExample(ActIsReadLogExample example) {
		return this.actIsReadLogMapper.selectByExample(example);
	}

	public int deleteByPrimaryKey(String id) {
		return this.actIsReadLogMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(ActIsReadLog record) {
		return this.actIsReadLogMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(ActIsReadLog record) {
		return this.actIsReadLogMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(ActIsReadLogExample example) {
		return this.actIsReadLogMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(ActIsReadLog record, ActIsReadLogExample example) {
		return this.actIsReadLogMapper.updateByExampleSelective(record, example);
	}

	public int updateByExample(ActIsReadLog record, ActIsReadLogExample example) {
		return this.actIsReadLogMapper.updateByExample(record, example);
	}

	public int insert(ActIsReadLog record) {
		return this.actIsReadLogMapper.insert(record);
	}

	public int insertSelective(ActIsReadLog record) {
		return this.actIsReadLogMapper.insertSelective(record);
	}

    public int selectIsReadCount(Map<String, Object> map) {
        return this.actIsReadLogMapperEx.selectIsReadCount(map);
    }

}
